$def with (strategy_info)
<!--global name strategy_info -->
<!--strategy_name,total_gain,username,strategy_type,subscribe_count,price)-->
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>个人中心</title>
    <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/personal_center.css">
    <script src="/js/jquery.js"></script>
    <script src="/js/validation_study.js"></script>
    <script src="/js/validation_personal_center.js"></script>
    <!--For logout-->
    <script src="/js/validation_logout.js"></script>

    <script>
    jQuery(document).ready(function(){
        jQuery(".btn-update").on("click", function(event){
	    event.stopPropagation();
            event.preventDefault();
            var x=jQuery(event.target).parent().parent().parent().find("#strategy_id").text();
            window.location.href="/study?id=" + x;
        });

        jQuery(".strategy_name_cls").on("click", function(event){
            //alert(event.target);
            var x = jQuery(this).next().next().children("#strategy_id").text();
            //alert(x);
            window.location.href="/tactics_detail?id="+x;
        });
        jQuery(".strategy_keys_cls").on("click", function(event){
            //alert(event.target);
            var x = jQuery(this).next().children("#strategy_id").text();
            //alert(x);
            window.location.href="/tactics_detail?id="+x;
        });
        jQuery(".strategy_values_cls").on("click", function(event){
            //alert(event.target);
            var x = jQuery(this).children("#strategy_id").text();
            //alert(x);
            window.location.href="/tactics_detail?id="+x;
        });

    });
    </script>
    <script>
         localStorage.setItem("uid", JSON.stringify(document.cookie.split(';')[0].split('=')[1]) )
         localStorage.setItem("phonenumber", JSON.stringify(document.cookie.split(';')[1].split('=')[1] ))
    </script>
</head>
<body>
<header class="header">
    <div class="column">
        <img class="logo" src="http://our8pafcg.bkt.clouddn.com/zhike/images/logo.png" alt="智客">
    </div>
    <div class="column column-right">
        <a href="/">首页</a>
        <a id="study_id" href="/study">开始研究</a>
        <a id="personal_center_id" href="/personal_center" class="active-tab">个人中心</a>
        <a id="help_id" href="/help">帮助</a>
        <button class="btn btn-default btn-radius" id="logout">退出</button>
    </div>
</header>

<div class="container">
    <h4 class="table-title">我的策略</h4>
    <a href='/study'>
        <button class="btn btn-primary btn-radius btn-create">新建策略</button>
    </a>
    <div class="table-wrapper">
        <table>
            <tbody>
            $for item in strategy_info:
            <tr class="strategy_name_cls">
                <td colspan="6">$loop.index. $item['strategy_name']</td>
            </tr>
            <tr class="strategy_keys_cls">
                <td>总收益 </td>
                <td>发布者</td>
                <td>策略类型</td>
                <td>订阅数</td>
                <td>订阅费</td>
                <td rowspan="2" class="btn-column">
                    <button class="btn btn-update">修改策略</button>
                </td>
            </tr>

            <tr class="strategy_values_cls">
                <td><span class="all-profit">$item['total_gain_rate']%</span></td>
                <td>$item['username']</td>
                <td>$item['strategy_type']</td>
                <td>$item['subscribe_count']</td>
                <td id="price_id">$item['price'] 元/月</td>
                <td hidden id="strategy_id"> $item['_id']</td>
            </tr>

            </tbody>
        </table>
    </div>
</div>
<footer class="footer">
    <div class="inner-wrap">
        <div>
            <p class="col-title"><i class="iconfont icon-link"></i>&nbsp;相关链接</p>
            <div class="content">
                <a href="http://www.datayes.com/" target="_blank">通联数据</a>&nbsp;&nbsp;让投资更容易
                <br/>
                <a href="http://m.datayes.com/" target="_blank">数据商城</a>&nbsp;&nbsp;海量金融大数据
                <br/>
                <a href="https://mof.datayes.com/" target="_blank">通联魔方</a>&nbsp;&nbsp;MOM/FOF全流程管理平台
                <br/>
                <a href="https://robo.tt/home/" target="_blank">萝卜投研</a>&nbsp;&nbsp;智能投研平台
                <br/>
                <a href="http://www.jinlingxuetang.com" target="_blank">金领学堂</a>&nbsp;&nbsp;学习更便捷
            </div>
        </div>
        <div>
            <p class="col-title"><i class="iconfont icon-location"></i>&nbsp;联系地址</p>
            <div class="content">
                总部地址： 北京市朝阳区望京街道保利国际广场T2-303
                <br/>成都分部： 四川省成都市天府大道中段希顿广场C座701
            </div>
        </div>
        <div>
            <p class="col-title"><i class="iconfont icon-telephone"></i>&nbsp;联系方式</p>
            <div class="content">
                电话: 400-696-8026
            </div>
        </div>
        <div class="qrcode-wrapper">
            <img class="qrcodeimg" src="https://uqer.io/home/img/code.jpg" alt="二维码"><br>
            <span>扫描二维码关注公众号</span>
        </div>
    </div>
    <br>
    <p class="copyright">
        <span>© 2017 <a href="http://www.datayes.com/" target="_blank">DataYes</a></span>
        <a class="icp" href="http://www.miibeian.gov.cn/" target="_blank">沪ICP备13045831号</a>
        <span>咨询热线：4000 820 386</span>
        <span>智客 Beta</span>
        <a href="http://www.datayes.com/protocol" target="_blank">用户协议</a>
    </p>
</footer>
</body>
</html>
